/**
 * @mbggenerated
 * @author kehui
 */
package com.mall.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class EshopExample extends BaseExample {
    /* @mbggenerated */
    protected String orderByClause;

    /* @mbggenerated */
    protected boolean distinct;

    /* @mbggenerated */
    protected List<Criteria> oredCriteria;

    /* @mbggenerated */
    public EshopExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /* @mbggenerated */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /* @mbggenerated */
    public String getOrderByClause() {
        return orderByClause;
    }

    /* @mbggenerated */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /* @mbggenerated */
    public boolean isDistinct() {
        return distinct;
    }

    /* @mbggenerated */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /* @mbggenerated */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /* @mbggenerated */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /* @mbggenerated */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /* @mbggenerated */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /* @mbggenerated */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * 对应数据库表 eshop
     *
     * @mbggenerated
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andSaleEshopIdIsNull() {
            addCriterion("sale_eshop_id is null");
            return (Criteria) this;
        }

        public Criteria andSaleEshopIdIsNotNull() {
            addCriterion("sale_eshop_id is not null");
            return (Criteria) this;
        }

        public Criteria andSaleEshopIdEqualTo(Long value) {
            addCriterion("sale_eshop_id =", value, "saleEshopId");
            return (Criteria) this;
        }

        public Criteria andSaleEshopIdNotEqualTo(Long value) {
            addCriterion("sale_eshop_id <>", value, "saleEshopId");
            return (Criteria) this;
        }

        public Criteria andSaleEshopIdGreaterThan(Long value) {
            addCriterion("sale_eshop_id >", value, "saleEshopId");
            return (Criteria) this;
        }

        public Criteria andSaleEshopIdGreaterThanOrEqualTo(Long value) {
            addCriterion("sale_eshop_id >=", value, "saleEshopId");
            return (Criteria) this;
        }

        public Criteria andSaleEshopIdLessThan(Long value) {
            addCriterion("sale_eshop_id <", value, "saleEshopId");
            return (Criteria) this;
        }

        public Criteria andSaleEshopIdLessThanOrEqualTo(Long value) {
            addCriterion("sale_eshop_id <=", value, "saleEshopId");
            return (Criteria) this;
        }

        public Criteria andSaleEshopIdIn(List<Long> values) {
            addCriterion("sale_eshop_id in", values, "saleEshopId");
            return (Criteria) this;
        }

        public Criteria andSaleEshopIdNotIn(List<Long> values) {
            addCriterion("sale_eshop_id not in", values, "saleEshopId");
            return (Criteria) this;
        }

        public Criteria andSaleEshopIdBetween(Long value1, Long value2) {
            addCriterion("sale_eshop_id between", value1, value2, "saleEshopId");
            return (Criteria) this;
        }

        public Criteria andSaleEshopIdNotBetween(Long value1, Long value2) {
            addCriterion("sale_eshop_id not between", value1, value2, "saleEshopId");
            return (Criteria) this;
        }

        public Criteria andSaleEshopNameIsNull() {
            addCriterion("sale_eshop_name is null");
            return (Criteria) this;
        }

        public Criteria andSaleEshopNameIsNotNull() {
            addCriterion("sale_eshop_name is not null");
            return (Criteria) this;
        }

        public Criteria andSaleEshopNameEqualTo(String value) {
            addCriterion("sale_eshop_name =", value, "saleEshopName");
            return (Criteria) this;
        }

        public Criteria andSaleEshopNameNotEqualTo(String value) {
            addCriterion("sale_eshop_name <>", value, "saleEshopName");
            return (Criteria) this;
        }

        public Criteria andSaleEshopNameGreaterThan(String value) {
            addCriterion("sale_eshop_name >", value, "saleEshopName");
            return (Criteria) this;
        }

        public Criteria andSaleEshopNameGreaterThanOrEqualTo(String value) {
            addCriterion("sale_eshop_name >=", value, "saleEshopName");
            return (Criteria) this;
        }

        public Criteria andSaleEshopNameLessThan(String value) {
            addCriterion("sale_eshop_name <", value, "saleEshopName");
            return (Criteria) this;
        }

        public Criteria andSaleEshopNameLessThanOrEqualTo(String value) {
            addCriterion("sale_eshop_name <=", value, "saleEshopName");
            return (Criteria) this;
        }

        public Criteria andSaleEshopNameLike(String value) {
            addCriterion("sale_eshop_name like", value, "saleEshopName");
            return (Criteria) this;
        }

        public Criteria andSaleEshopNameNotLike(String value) {
            addCriterion("sale_eshop_name not like", value, "saleEshopName");
            return (Criteria) this;
        }

        public Criteria andSaleEshopNameIn(List<String> values) {
            addCriterion("sale_eshop_name in", values, "saleEshopName");
            return (Criteria) this;
        }

        public Criteria andSaleEshopNameNotIn(List<String> values) {
            addCriterion("sale_eshop_name not in", values, "saleEshopName");
            return (Criteria) this;
        }

        public Criteria andSaleEshopNameBetween(String value1, String value2) {
            addCriterion("sale_eshop_name between", value1, value2, "saleEshopName");
            return (Criteria) this;
        }

        public Criteria andSaleEshopNameNotBetween(String value1, String value2) {
            addCriterion("sale_eshop_name not between", value1, value2, "saleEshopName");
            return (Criteria) this;
        }

        public Criteria andEshopCompanyIdIsNull() {
            addCriterion("eshop_company_id is null");
            return (Criteria) this;
        }

        public Criteria andEshopCompanyIdIsNotNull() {
            addCriterion("eshop_company_id is not null");
            return (Criteria) this;
        }

        public Criteria andEshopCompanyIdEqualTo(Long value) {
            addCriterion("eshop_company_id =", value, "eshopCompanyId");
            return (Criteria) this;
        }

        public Criteria andEshopCompanyIdNotEqualTo(Long value) {
            addCriterion("eshop_company_id <>", value, "eshopCompanyId");
            return (Criteria) this;
        }

        public Criteria andEshopCompanyIdGreaterThan(Long value) {
            addCriterion("eshop_company_id >", value, "eshopCompanyId");
            return (Criteria) this;
        }

        public Criteria andEshopCompanyIdGreaterThanOrEqualTo(Long value) {
            addCriterion("eshop_company_id >=", value, "eshopCompanyId");
            return (Criteria) this;
        }

        public Criteria andEshopCompanyIdLessThan(Long value) {
            addCriterion("eshop_company_id <", value, "eshopCompanyId");
            return (Criteria) this;
        }

        public Criteria andEshopCompanyIdLessThanOrEqualTo(Long value) {
            addCriterion("eshop_company_id <=", value, "eshopCompanyId");
            return (Criteria) this;
        }

        public Criteria andEshopCompanyIdIn(List<Long> values) {
            addCriterion("eshop_company_id in", values, "eshopCompanyId");
            return (Criteria) this;
        }

        public Criteria andEshopCompanyIdNotIn(List<Long> values) {
            addCriterion("eshop_company_id not in", values, "eshopCompanyId");
            return (Criteria) this;
        }

        public Criteria andEshopCompanyIdBetween(Long value1, Long value2) {
            addCriterion("eshop_company_id between", value1, value2, "eshopCompanyId");
            return (Criteria) this;
        }

        public Criteria andEshopCompanyIdNotBetween(Long value1, Long value2) {
            addCriterion("eshop_company_id not between", value1, value2, "eshopCompanyId");
            return (Criteria) this;
        }

        public Criteria andEshopCompanyNameIsNull() {
            addCriterion("eshop_company_name is null");
            return (Criteria) this;
        }

        public Criteria andEshopCompanyNameIsNotNull() {
            addCriterion("eshop_company_name is not null");
            return (Criteria) this;
        }

        public Criteria andEshopCompanyNameEqualTo(String value) {
            addCriterion("eshop_company_name =", value, "eshopCompanyName");
            return (Criteria) this;
        }

        public Criteria andEshopCompanyNameNotEqualTo(String value) {
            addCriterion("eshop_company_name <>", value, "eshopCompanyName");
            return (Criteria) this;
        }

        public Criteria andEshopCompanyNameGreaterThan(String value) {
            addCriterion("eshop_company_name >", value, "eshopCompanyName");
            return (Criteria) this;
        }

        public Criteria andEshopCompanyNameGreaterThanOrEqualTo(String value) {
            addCriterion("eshop_company_name >=", value, "eshopCompanyName");
            return (Criteria) this;
        }

        public Criteria andEshopCompanyNameLessThan(String value) {
            addCriterion("eshop_company_name <", value, "eshopCompanyName");
            return (Criteria) this;
        }

        public Criteria andEshopCompanyNameLessThanOrEqualTo(String value) {
            addCriterion("eshop_company_name <=", value, "eshopCompanyName");
            return (Criteria) this;
        }

        public Criteria andEshopCompanyNameLike(String value) {
            addCriterion("eshop_company_name like", value, "eshopCompanyName");
            return (Criteria) this;
        }

        public Criteria andEshopCompanyNameNotLike(String value) {
            addCriterion("eshop_company_name not like", value, "eshopCompanyName");
            return (Criteria) this;
        }

        public Criteria andEshopCompanyNameIn(List<String> values) {
            addCriterion("eshop_company_name in", values, "eshopCompanyName");
            return (Criteria) this;
        }

        public Criteria andEshopCompanyNameNotIn(List<String> values) {
            addCriterion("eshop_company_name not in", values, "eshopCompanyName");
            return (Criteria) this;
        }

        public Criteria andEshopCompanyNameBetween(String value1, String value2) {
            addCriterion("eshop_company_name between", value1, value2, "eshopCompanyName");
            return (Criteria) this;
        }

        public Criteria andEshopCompanyNameNotBetween(String value1, String value2) {
            addCriterion("eshop_company_name not between", value1, value2, "eshopCompanyName");
            return (Criteria) this;
        }

        public Criteria andTrademarkIdIsNull() {
            addCriterion("trademark_id is null");
            return (Criteria) this;
        }

        public Criteria andTrademarkIdIsNotNull() {
            addCriterion("trademark_id is not null");
            return (Criteria) this;
        }

        public Criteria andTrademarkIdEqualTo(Long value) {
            addCriterion("trademark_id =", value, "trademarkId");
            return (Criteria) this;
        }

        public Criteria andTrademarkIdNotEqualTo(Long value) {
            addCriterion("trademark_id <>", value, "trademarkId");
            return (Criteria) this;
        }

        public Criteria andTrademarkIdGreaterThan(Long value) {
            addCriterion("trademark_id >", value, "trademarkId");
            return (Criteria) this;
        }

        public Criteria andTrademarkIdGreaterThanOrEqualTo(Long value) {
            addCriterion("trademark_id >=", value, "trademarkId");
            return (Criteria) this;
        }

        public Criteria andTrademarkIdLessThan(Long value) {
            addCriterion("trademark_id <", value, "trademarkId");
            return (Criteria) this;
        }

        public Criteria andTrademarkIdLessThanOrEqualTo(Long value) {
            addCriterion("trademark_id <=", value, "trademarkId");
            return (Criteria) this;
        }

        public Criteria andTrademarkIdIn(List<Long> values) {
            addCriterion("trademark_id in", values, "trademarkId");
            return (Criteria) this;
        }

        public Criteria andTrademarkIdNotIn(List<Long> values) {
            addCriterion("trademark_id not in", values, "trademarkId");
            return (Criteria) this;
        }

        public Criteria andTrademarkIdBetween(Long value1, Long value2) {
            addCriterion("trademark_id between", value1, value2, "trademarkId");
            return (Criteria) this;
        }

        public Criteria andTrademarkIdNotBetween(Long value1, Long value2) {
            addCriterion("trademark_id not between", value1, value2, "trademarkId");
            return (Criteria) this;
        }

        public Criteria andTrademarkNameIsNull() {
            addCriterion("trademark_name is null");
            return (Criteria) this;
        }

        public Criteria andTrademarkNameIsNotNull() {
            addCriterion("trademark_name is not null");
            return (Criteria) this;
        }

        public Criteria andTrademarkNameEqualTo(String value) {
            addCriterion("trademark_name =", value, "trademarkName");
            return (Criteria) this;
        }

        public Criteria andTrademarkNameNotEqualTo(String value) {
            addCriterion("trademark_name <>", value, "trademarkName");
            return (Criteria) this;
        }

        public Criteria andTrademarkNameGreaterThan(String value) {
            addCriterion("trademark_name >", value, "trademarkName");
            return (Criteria) this;
        }

        public Criteria andTrademarkNameGreaterThanOrEqualTo(String value) {
            addCriterion("trademark_name >=", value, "trademarkName");
            return (Criteria) this;
        }

        public Criteria andTrademarkNameLessThan(String value) {
            addCriterion("trademark_name <", value, "trademarkName");
            return (Criteria) this;
        }

        public Criteria andTrademarkNameLessThanOrEqualTo(String value) {
            addCriterion("trademark_name <=", value, "trademarkName");
            return (Criteria) this;
        }

        public Criteria andTrademarkNameLike(String value) {
            addCriterion("trademark_name like", value, "trademarkName");
            return (Criteria) this;
        }

        public Criteria andTrademarkNameNotLike(String value) {
            addCriterion("trademark_name not like", value, "trademarkName");
            return (Criteria) this;
        }

        public Criteria andTrademarkNameIn(List<String> values) {
            addCriterion("trademark_name in", values, "trademarkName");
            return (Criteria) this;
        }

        public Criteria andTrademarkNameNotIn(List<String> values) {
            addCriterion("trademark_name not in", values, "trademarkName");
            return (Criteria) this;
        }

        public Criteria andTrademarkNameBetween(String value1, String value2) {
            addCriterion("trademark_name between", value1, value2, "trademarkName");
            return (Criteria) this;
        }

        public Criteria andTrademarkNameNotBetween(String value1, String value2) {
            addCriterion("trademark_name not between", value1, value2, "trademarkName");
            return (Criteria) this;
        }

        public Criteria andTrademarkOwnerIsNull() {
            addCriterion("trademark_owner is null");
            return (Criteria) this;
        }

        public Criteria andTrademarkOwnerIsNotNull() {
            addCriterion("trademark_owner is not null");
            return (Criteria) this;
        }

        public Criteria andTrademarkOwnerEqualTo(String value) {
            addCriterion("trademark_owner =", value, "trademarkOwner");
            return (Criteria) this;
        }

        public Criteria andTrademarkOwnerNotEqualTo(String value) {
            addCriterion("trademark_owner <>", value, "trademarkOwner");
            return (Criteria) this;
        }

        public Criteria andTrademarkOwnerGreaterThan(String value) {
            addCriterion("trademark_owner >", value, "trademarkOwner");
            return (Criteria) this;
        }

        public Criteria andTrademarkOwnerGreaterThanOrEqualTo(String value) {
            addCriterion("trademark_owner >=", value, "trademarkOwner");
            return (Criteria) this;
        }

        public Criteria andTrademarkOwnerLessThan(String value) {
            addCriterion("trademark_owner <", value, "trademarkOwner");
            return (Criteria) this;
        }

        public Criteria andTrademarkOwnerLessThanOrEqualTo(String value) {
            addCriterion("trademark_owner <=", value, "trademarkOwner");
            return (Criteria) this;
        }

        public Criteria andTrademarkOwnerLike(String value) {
            addCriterion("trademark_owner like", value, "trademarkOwner");
            return (Criteria) this;
        }

        public Criteria andTrademarkOwnerNotLike(String value) {
            addCriterion("trademark_owner not like", value, "trademarkOwner");
            return (Criteria) this;
        }

        public Criteria andTrademarkOwnerIn(List<String> values) {
            addCriterion("trademark_owner in", values, "trademarkOwner");
            return (Criteria) this;
        }

        public Criteria andTrademarkOwnerNotIn(List<String> values) {
            addCriterion("trademark_owner not in", values, "trademarkOwner");
            return (Criteria) this;
        }

        public Criteria andTrademarkOwnerBetween(String value1, String value2) {
            addCriterion("trademark_owner between", value1, value2, "trademarkOwner");
            return (Criteria) this;
        }

        public Criteria andTrademarkOwnerNotBetween(String value1, String value2) {
            addCriterion("trademark_owner not between", value1, value2, "trademarkOwner");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIsNull() {
            addCriterion("gmt_create is null");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIsNotNull() {
            addCriterion("gmt_create is not null");
            return (Criteria) this;
        }

        public Criteria andGmtCreateEqualTo(Date value) {
            addCriterion("gmt_create =", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotEqualTo(Date value) {
            addCriterion("gmt_create <>", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateGreaterThan(Date value) {
            addCriterion("gmt_create >", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateGreaterThanOrEqualTo(Date value) {
            addCriterion("gmt_create >=", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateLessThan(Date value) {
            addCriterion("gmt_create <", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateLessThanOrEqualTo(Date value) {
            addCriterion("gmt_create <=", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIn(List<Date> values) {
            addCriterion("gmt_create in", values, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotIn(List<Date> values) {
            addCriterion("gmt_create not in", values, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateBetween(Date value1, Date value2) {
            addCriterion("gmt_create between", value1, value2, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotBetween(Date value1, Date value2) {
            addCriterion("gmt_create not between", value1, value2, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtModifyIsNull() {
            addCriterion("gmt_modify is null");
            return (Criteria) this;
        }

        public Criteria andGmtModifyIsNotNull() {
            addCriterion("gmt_modify is not null");
            return (Criteria) this;
        }

        public Criteria andGmtModifyEqualTo(Date value) {
            addCriterion("gmt_modify =", value, "gmtModify");
            return (Criteria) this;
        }

        public Criteria andGmtModifyNotEqualTo(Date value) {
            addCriterion("gmt_modify <>", value, "gmtModify");
            return (Criteria) this;
        }

        public Criteria andGmtModifyGreaterThan(Date value) {
            addCriterion("gmt_modify >", value, "gmtModify");
            return (Criteria) this;
        }

        public Criteria andGmtModifyGreaterThanOrEqualTo(Date value) {
            addCriterion("gmt_modify >=", value, "gmtModify");
            return (Criteria) this;
        }

        public Criteria andGmtModifyLessThan(Date value) {
            addCriterion("gmt_modify <", value, "gmtModify");
            return (Criteria) this;
        }

        public Criteria andGmtModifyLessThanOrEqualTo(Date value) {
            addCriterion("gmt_modify <=", value, "gmtModify");
            return (Criteria) this;
        }

        public Criteria andGmtModifyIn(List<Date> values) {
            addCriterion("gmt_modify in", values, "gmtModify");
            return (Criteria) this;
        }

        public Criteria andGmtModifyNotIn(List<Date> values) {
            addCriterion("gmt_modify not in", values, "gmtModify");
            return (Criteria) this;
        }

        public Criteria andGmtModifyBetween(Date value1, Date value2) {
            addCriterion("gmt_modify between", value1, value2, "gmtModify");
            return (Criteria) this;
        }

        public Criteria andGmtModifyNotBetween(Date value1, Date value2) {
            addCriterion("gmt_modify not between", value1, value2, "gmtModify");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIsNull() {
            addCriterion("create_user_id is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIsNotNull() {
            addCriterion("create_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdEqualTo(Long value) {
            addCriterion("create_user_id =", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotEqualTo(Long value) {
            addCriterion("create_user_id <>", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdGreaterThan(Long value) {
            addCriterion("create_user_id >", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("create_user_id >=", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLessThan(Long value) {
            addCriterion("create_user_id <", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLessThanOrEqualTo(Long value) {
            addCriterion("create_user_id <=", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIn(List<Long> values) {
            addCriterion("create_user_id in", values, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotIn(List<Long> values) {
            addCriterion("create_user_id not in", values, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdBetween(Long value1, Long value2) {
            addCriterion("create_user_id between", value1, value2, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotBetween(Long value1, Long value2) {
            addCriterion("create_user_id not between", value1, value2, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyIsNull() {
            addCriterion("comm_only_key is null");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyIsNotNull() {
            addCriterion("comm_only_key is not null");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyEqualTo(Integer value) {
            addCriterion("comm_only_key =", value, "commOnlyKey");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyNotEqualTo(Integer value) {
            addCriterion("comm_only_key <>", value, "commOnlyKey");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyGreaterThan(Integer value) {
            addCriterion("comm_only_key >", value, "commOnlyKey");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyGreaterThanOrEqualTo(Integer value) {
            addCriterion("comm_only_key >=", value, "commOnlyKey");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyLessThan(Integer value) {
            addCriterion("comm_only_key <", value, "commOnlyKey");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyLessThanOrEqualTo(Integer value) {
            addCriterion("comm_only_key <=", value, "commOnlyKey");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyIn(List<Integer> values) {
            addCriterion("comm_only_key in", values, "commOnlyKey");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyNotIn(List<Integer> values) {
            addCriterion("comm_only_key not in", values, "commOnlyKey");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyBetween(Integer value1, Integer value2) {
            addCriterion("comm_only_key between", value1, value2, "commOnlyKey");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyNotBetween(Integer value1, Integer value2) {
            addCriterion("comm_only_key not between", value1, value2, "commOnlyKey");
            return (Criteria) this;
        }

        public Criteria andEshopSellerIdIsNull() {
            addCriterion("eshop_seller_id is null");
            return (Criteria) this;
        }

        public Criteria andEshopSellerIdIsNotNull() {
            addCriterion("eshop_seller_id is not null");
            return (Criteria) this;
        }

        public Criteria andEshopSellerIdEqualTo(Long value) {
            addCriterion("eshop_seller_id =", value, "eshopSellerId");
            return (Criteria) this;
        }

        public Criteria andEshopSellerIdNotEqualTo(Long value) {
            addCriterion("eshop_seller_id <>", value, "eshopSellerId");
            return (Criteria) this;
        }

        public Criteria andEshopSellerIdGreaterThan(Long value) {
            addCriterion("eshop_seller_id >", value, "eshopSellerId");
            return (Criteria) this;
        }

        public Criteria andEshopSellerIdGreaterThanOrEqualTo(Long value) {
            addCriterion("eshop_seller_id >=", value, "eshopSellerId");
            return (Criteria) this;
        }

        public Criteria andEshopSellerIdLessThan(Long value) {
            addCriterion("eshop_seller_id <", value, "eshopSellerId");
            return (Criteria) this;
        }

        public Criteria andEshopSellerIdLessThanOrEqualTo(Long value) {
            addCriterion("eshop_seller_id <=", value, "eshopSellerId");
            return (Criteria) this;
        }

        public Criteria andEshopSellerIdIn(List<Long> values) {
            addCriterion("eshop_seller_id in", values, "eshopSellerId");
            return (Criteria) this;
        }

        public Criteria andEshopSellerIdNotIn(List<Long> values) {
            addCriterion("eshop_seller_id not in", values, "eshopSellerId");
            return (Criteria) this;
        }

        public Criteria andEshopSellerIdBetween(Long value1, Long value2) {
            addCriterion("eshop_seller_id between", value1, value2, "eshopSellerId");
            return (Criteria) this;
        }

        public Criteria andEshopSellerIdNotBetween(Long value1, Long value2) {
            addCriterion("eshop_seller_id not between", value1, value2, "eshopSellerId");
            return (Criteria) this;
        }

        public Criteria andTruthSaleIsNull() {
            addCriterion("truth_sale is null");
            return (Criteria) this;
        }

        public Criteria andTruthSaleIsNotNull() {
            addCriterion("truth_sale is not null");
            return (Criteria) this;
        }

        public Criteria andTruthSaleEqualTo(Integer value) {
            addCriterion("truth_sale =", value, "truthSale");
            return (Criteria) this;
        }

        public Criteria andTruthSaleNotEqualTo(Integer value) {
            addCriterion("truth_sale <>", value, "truthSale");
            return (Criteria) this;
        }

        public Criteria andTruthSaleGreaterThan(Integer value) {
            addCriterion("truth_sale >", value, "truthSale");
            return (Criteria) this;
        }

        public Criteria andTruthSaleGreaterThanOrEqualTo(Integer value) {
            addCriterion("truth_sale >=", value, "truthSale");
            return (Criteria) this;
        }

        public Criteria andTruthSaleLessThan(Integer value) {
            addCriterion("truth_sale <", value, "truthSale");
            return (Criteria) this;
        }

        public Criteria andTruthSaleLessThanOrEqualTo(Integer value) {
            addCriterion("truth_sale <=", value, "truthSale");
            return (Criteria) this;
        }

        public Criteria andTruthSaleIn(List<Integer> values) {
            addCriterion("truth_sale in", values, "truthSale");
            return (Criteria) this;
        }

        public Criteria andTruthSaleNotIn(List<Integer> values) {
            addCriterion("truth_sale not in", values, "truthSale");
            return (Criteria) this;
        }

        public Criteria andTruthSaleBetween(Integer value1, Integer value2) {
            addCriterion("truth_sale between", value1, value2, "truthSale");
            return (Criteria) this;
        }

        public Criteria andTruthSaleNotBetween(Integer value1, Integer value2) {
            addCriterion("truth_sale not between", value1, value2, "truthSale");
            return (Criteria) this;
        }

        public Criteria andTaobaoUrlIsNull() {
            addCriterion("taobao_url is null");
            return (Criteria) this;
        }

        public Criteria andTaobaoUrlIsNotNull() {
            addCriterion("taobao_url is not null");
            return (Criteria) this;
        }

        public Criteria andTaobaoUrlEqualTo(String value) {
            addCriterion("taobao_url =", value, "taobaoUrl");
            return (Criteria) this;
        }

        public Criteria andTaobaoUrlNotEqualTo(String value) {
            addCriterion("taobao_url <>", value, "taobaoUrl");
            return (Criteria) this;
        }

        public Criteria andTaobaoUrlGreaterThan(String value) {
            addCriterion("taobao_url >", value, "taobaoUrl");
            return (Criteria) this;
        }

        public Criteria andTaobaoUrlGreaterThanOrEqualTo(String value) {
            addCriterion("taobao_url >=", value, "taobaoUrl");
            return (Criteria) this;
        }

        public Criteria andTaobaoUrlLessThan(String value) {
            addCriterion("taobao_url <", value, "taobaoUrl");
            return (Criteria) this;
        }

        public Criteria andTaobaoUrlLessThanOrEqualTo(String value) {
            addCriterion("taobao_url <=", value, "taobaoUrl");
            return (Criteria) this;
        }

        public Criteria andTaobaoUrlLike(String value) {
            addCriterion("taobao_url like", value, "taobaoUrl");
            return (Criteria) this;
        }

        public Criteria andTaobaoUrlNotLike(String value) {
            addCriterion("taobao_url not like", value, "taobaoUrl");
            return (Criteria) this;
        }

        public Criteria andTaobaoUrlIn(List<String> values) {
            addCriterion("taobao_url in", values, "taobaoUrl");
            return (Criteria) this;
        }

        public Criteria andTaobaoUrlNotIn(List<String> values) {
            addCriterion("taobao_url not in", values, "taobaoUrl");
            return (Criteria) this;
        }

        public Criteria andTaobaoUrlBetween(String value1, String value2) {
            addCriterion("taobao_url between", value1, value2, "taobaoUrl");
            return (Criteria) this;
        }

        public Criteria andTaobaoUrlNotBetween(String value1, String value2) {
            addCriterion("taobao_url not between", value1, value2, "taobaoUrl");
            return (Criteria) this;
        }
    }

    /* @mbggenerated */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * 对应数据库表 eshop
     *
     * @mbggenerated
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}